package com.guanyua.eims.controller;


import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 产品-信息 前端控制器
 * </p>
 *
 * @author 任建波
 * @since 2020-10-18
 */
@Api(tags = "产品")
@RestController
@RequestMapping("/product-spu")
public class ProductSpuController {

    @Value("${server.port}")
    private String serverPort;
    @Value("${config.info}")
    private String configInfo;

    @GetMapping(value = "getProductPage")
    public String getProductPage() {
        return "serverPort: " + serverPort + "，configInfo：" + configInfo;
    }

}

